@model ExpertSMS.Models.MakeFood

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>MakeFood</legend>

    <div class="display-label">Serves</div>
    <div class="display-field">@Model.Serves</div>

    <div class="display-label">Kitchen</div>
    <div class="display-field">@(Model.Kitchen == null ? "None" : Model.Kitchen.Name)</div>

    <div class="display-label">Food</div>
    <div class="display-field">@(Model.Food == null ? "None" : Model.Food.Name)</div>

    <div class="display-label">MakeFoodProducts</div>
    <div class="display-field">@(Model.MakeFoodProducts == null ? "None" : Model.MakeFoodProducts.Count.ToString())</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.MakeFoodID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


